import "mars3d-cesium/Build/Cesium/Widgets/widgets.css"
import "mars3d-cesium"
// import '@/utils/turf.min.js'

import "mars3d/dist/mars3d.css"
import "mars3d"
import '@/utils/CesiumVectorTile.js'
import '@/utils/WeiVectorTileLayer.js'

import { createApp } from 'vue'
import '@styles/style.css'
import '@styles/normal.css'
import '@styles/font.css'
import App from '@/App.vue'
import router from '@/router'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// iconpark
import '@icon-park/vue-next/styles/index.css'
// 图片缩放
import { initVWheelScale } from "@/utils/vWheelScale.js"
// 图片拖拽
import { initVDrag } from "@/utils/vDrag.js"
// 国际化
import i18n from '@/lang/index';
// 全局方法挂载
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'; // 引入中文包

// 创建pinia
const pinia = createPinia()

const app = createApp(App)
app.use(router)
app.use(pinia)
app.use(i18n)
app.use(ElementPlus, { locale: zhCn })
app.use(ElementPlus)
app.use(initVWheelScale)
app.use(initVDrag)
app.mount("#app")